<%@ page contentType="text/html;charset=gbk" %>
<%@ page import="java.sql.*"%>
<%@ page import="com.oa.database.*"%>
<%@ page import="com.oa.util.Format"%>
<%@ include file="/share/login_info.jsp"%>

<%
    String sId = request.getParameter("ID");
    if (sId == null) {
        sId = "0";
    }

    String sTable = "OA_XMRKXXB";
    String sField = "RKNR";
    String sFieldCondition = "RKID";
    String sValueCondition = sId;

    Format format = new Format();
    DataConn dataConn = new DataConn();
    QueryData queryData = new QueryData(dataConn);
    queryData.setRecordSet(sTable, sField, sFieldCondition, sValueCondition);
    ResultSet rs_temp = queryData.getResultSet();
    String temp_name = "";
    String temp_desc = "";
    String temp_content = "";
    int temp_type = 0;
    String sf = "";
    try {
        if (rs_temp.next()) {
            temp_content = format.toSpaceStr(rs_temp.getString("RKNR"));
            out.println(temp_content);
        }
    }
    catch(Exception e) { out.println("em"+e);}
%>
